package com.breeze.components.log.converter;

import ch.qos.logback.classic.pattern.ClassicConverter;
import ch.qos.logback.classic.spi.ILoggingEvent;
import com.breeze.components.core.ServiceInfo;

/**
 * @author breeze
 */
public class HostPatternConverter extends ClassicConverter {

  @Override
  public String convert(ILoggingEvent iLoggingEvent) {
    return ServiceInfo.getHost();
  }
}
